#include "common.h"

Common::Common(QObject *parent) : QObject(parent)
{

}

void Common::sleep(uint sec = 1000)
{
    QEventLoop eventloop;
    QTimer::singleShot(sec, &eventloop, SLOT(quit()));
    eventloop.exec();
}
